package com.qqtech.qquan.hi.service;

import com.qqtech.core.frame.service.BaseService;
import com.qqtech.qquan.hi.model.HiRule;

public interface HiCircleService extends BaseService<HiRule> {
	
	/**
	 * 加入圈子
	 * @param userId
	 * @param circleId 圈子id
	 * @return
	 */
	public void join(Integer userId, Integer circleId);
	
	/**
	 * 发动态
	 * @param userId
	 * @param circleId 圈子id
	 * @return
	 */
	public void addTopic(Integer userId, Integer circleId);
	
	/**
	 * 参与投票
	 * @param userId
	 * @param topicId 话题id
	 * @return
	 */
	public void addVoteResult(Integer userId, Integer topicId);
	
	/**
	 * 参与活动
	 * @param userId
	 * @param circleId 圈子id
	 */
	public void inActivity(Integer userId, Integer circleId);
	
	/**
	 * 评论他人动态
	 * @param userId
	 * @param topicId 动态id
	 */
	public void commentTopic(Integer userId, Integer topicId);
	
	/**
	 * 点赞他人圈子动态
	 * @param userId
	 * @param topicId 动态id
	 */
	public void praiseTopic(Integer userId, Integer topicId);
	
}